QT += declarative opengl multimedia

# Add files and directories to ship with the application 
# by adapting the examples below.
# file1.source = myfile
# dir1.source = mydir
DEPLOYMENTFOLDERS = # file1 dir1

DEFINES += QMLJSDEBUGGER

# Avoid auto screen rotation
DEFINES += ORIENTATIONLOCK

#DEFINES += NO_SOUND

# Needs to be defined for Symbian
DEFINES += NETWORKACCESS

symbian:TARGET.UID3 = 0xE6B0CBE3

# If your application uses the Qt Mobility libraries, uncomment
# the following lines and add the respective components to the 
# MOBILITY variable. 
CONFIG += mobility

#CONFIG += iap

MOBILITY = serviceframework

SOURCES += main.cpp mainwindow.cpp \
    level.cpp \
    levelmodel.cpp \
    levelcontroller.cpp
HEADERS += mainwindow.h \
    level.h \
    levelmodel.h \
    leveldata.h \
    levelcontroller.h
FORMS += mainwindow.ui

# Please do not modify the following two lines. Required for deployment.
include(deployment.pri)
qtcAddDeployment()

RESOURCES += \
    kolobok.qrc

OTHER_FILES += \
    qml/Menu.qml \
    qml/Kolobok.qml \
    qml/gameboard.qml \
    qml/Fire.qml \
    IAP_VARIANTID.txt \
    TEST_MODE.txt \
    Items.data

symbian{
  CONFIG(iap) {
    message(Building with IAP support.)
    DEFINES += IAP_ENABLED

    # In-Application Purchasing lib
    LIBS += -liapclientapi.lib
    # In-Application Purchesing config files
    # remove TEST_MODE.txt to prevent the app form running in test mode
    iapvariant.sources = IAP_VARIANTID.txt\
        Items.data\
        TEST_MODE.txt
    DEPLOYMENT += iapvariant

    # In-Application dependency
    iap_dependency.pkg_prerules = \
        "; Has dependency on IAP component" \
        "(0x200345C8), 0, 1, 1, {\"IAP\"}"
        DEPLOYMENT += iap_dependency
  } else {
    message(IAP support is not enabled.)
 }
}
